package com.github.cyf;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author chenyifan
 * @create 2024-03-14 12:29
 */
@SpringBootApplication
@Slf4j
public class LogbackApplication {

    public static void main(String[] args) {
        SpringApplication.run(LogbackApplication.class, args);
        log.warn("我是一条警告日志");
        log.error("我是一条错误日志");
    }
}